package com.vooda.business_admin.service;


import com.vooda.business_admin.common.ReqDataTableDto;
import com.vooda.business_admin.common.RspDataTableDto;
import com.vooda.business_admin.entity.HomePage;
import com.vooda.business_admin.entity.Market;
import com.vooda.business_admin.entity.Store;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface StoreService {

    String deleteByPrimaryKey(Long id);

    String insertSelective(Store record);

    Store selectByPrimaryKey(Long id);

    String updateByPrimaryKeySelective(Store record);

    RspDataTableDto<Store> findAllStoreList(ReqDataTableDto dataTableDTO, String marketId);

    String saveStore(Store store,MultipartFile image);

    List<Store> getStoreList();


    /**
     * 修改图片
     * @param imageUpload
     * @param id
     */
    void updateImage(MultipartFile imageUpload ,Long id);

}
